﻿<UserControl x:Class="mediaPrime.Plugin.SystemManagement.UserControls.SettingUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" Focusable="False" KeyboardNavigation.TabNavigation="None" KeyboardNavigation.IsTabStop="False" FocusManager.IsFocusScope="False"
             d:DesignHeight="300" d:DesignWidth="300">
    <UserControl.Template>
        <ControlTemplate TargetType="{x:Type UserControl}">
            <Grid Height="48">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="4*"></ColumnDefinition>
                    <ColumnDefinition Width="6*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock VerticalAlignment="Center" TextTrimming="CharacterEllipsis" TextWrapping="Wrap"  Margin="8,0" Text="{Binding DisplayName}"></TextBlock>
                <ContentControl VerticalAlignment="Center" HorizontalAlignment="Right"  Margin="8,0" Grid.Column="1" Content="{TemplateBinding Content}"></ContentControl>
            </Grid>
        </ControlTemplate>
    </UserControl.Template>
</UserControl>
